-- card: 18337 from stack: in.03 ะตะตะต -- bmap block id: 12831 -- flags: 0000 -- background id: 10462 -- name: ----- HyperTalk script ----- on openCard global knifeLoc,noduleLoc,ladderLoc,bombLoc,keyLoc,gemLoc,orbLoc,invLoc global cardID,flood,blastDam,holeDam,blastWall,trollDead,hortaDead global ladderPit,ladderHole,pillarEat,chase,blasting,demonDead global examFlag,takeFlag,useFlag,dropFlag,dropRoom,carried global eDoorOpen,sDoorOpen,invFlag,holdID,causeOfDeath,holdUserLevel global initFlag hide msg set the blindTyping to false hide menuBar put true into initFlag choose browse tool hide card button id 18 of card id 7465 set the cursor to 4 set the lockScreen to true -- Initialize the flags and counters: put "10613" into invLoc put "0" into carried put false into examFlag put false into takeFlag put false into dropFlag put false into useFlag put false into invFlag put false into pillarEat put false into trollDead put false into hortaDead put false into demonDead put false into eDoorOpen put false into sDoorOpen put false into flood put false into blastWall put false into blastDam put false into holeDam put false into ladderPit put false into ladderHole put "generic" into causeOfDeath put "0" into chase put "0" into blasting put the number of cards into numCards repeat with cardCount = 5 to numCards-1 put 1 into field init of card cardCount end repeat hide card button knife of card id invLoc hide card button ladder of card id invLoc hide card button nodule of card id invLoc hide card button bomb of card id invLoc hide card button gem of card id invLoc hide card button key of card id invLoc hide card button orb of card id invLoc -- Placement of the objects: put "33443" into knifeLoc put "24636" into ladderLoc put "22580" into noduleLoc put "6984" into bombLoc put "32989" into keyLoc put "28895" into gemLoc put "13815" into orbLoc hide card button id 17 of card id 7465 -- Hide the pictures of the Horta monster: show card button "hortaCover" of card id 3186 show card button "hortaCover" of card id 26200 show card button "hortaCover" of card id 26754 show card button "hortaCover" of card id 22580 show card button "hortaCover" of card id 23127 show card button "hortaCover" of card id 11722 -- Hide all the fields on the death card just in case: go card id 3409 -- Go finish the intro: go card id 11334 put false into initFlag end openCard